package com.syz.httpd.exception;

import com.xiaoleilu.hutool.util.StrUtil;

/**
 * 设置异常
 * 
 * @author SYZ
 * @date 2018年7月4日 上午9:37:19
 * @version 1.0.0
 * @see com.syz.httpd.exception.ServerSettingException
 */
public class ServerSettingException extends RuntimeException{
	private static final long serialVersionUID = -4134588858314744501L;

	public ServerSettingException(Throwable e) {
		super(e);
	}
	
	public ServerSettingException(String message) {
		super(message);
	}
	
	public ServerSettingException(String messageTemplate, Object... params) {
		super(StrUtil.format(messageTemplate, params));
	}
	
	public ServerSettingException(String message, Throwable throwable) {
		super(message, throwable);
	}
	
	public ServerSettingException(Throwable throwable, String messageTemplate, Object... params) {
		super(StrUtil.format(messageTemplate, params), throwable);
	}
}
